﻿using Budget.Model;
using System.Collections.Generic;
using System.Linq;

namespace Budget.Dao
{
    public class MaterialDepotDao
    {
        public List<MaterialDepot> GetMaterialDepots()
        {
            //// 指定子对象中的字段去找主对象的主键
            //List<MaterialDepot> list = this.db.Queryable<MaterialDepot>().Mapper(i => i.Materials, i => i.Materials.First().MaterialDepotId).ToList();
            //return list;
            return null;
        }
    }
}
